package cn.itsource.org.service;

import cn.itsource.org.domain.Department;
import cn.itsource.org.query.DepartmentQuery;
import cn.itsource.util.PageList;

import java.util.List;

public interface IDepartmentService {

    List<Department> fainAll();

    Department FainOne(Long id);

    void save(Department department);

    void update(Department department);

    void delete(Long id);

    //分页和查询所有的内容
    PageList<Department> findPage(DepartmentQuery department);

    List<Department> getHigher ();


    void BatchDeletion(DepartmentQuery departmentQuery);

}
